[INFO] cloning repository https://github.com/dray52/battleship
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dray52/battleship" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdray52%2Fbattleship", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdray52%2Fbattleship'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1e355e0a57eebb3ff1092e7f35d6846346e2fd8b
[INFO] fixing dray52/battleship against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdray52%2Fbattleship" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dray52/battleship
[INFO] finished tweaking git repo https://github.com/dray52/battleship
[INFO] tweaked toml for git repo https://github.com/dray52/battleship written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dray52/battleship on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dray52/battleship already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.38
[INFO] [stderr]   Downloaded zerocopy v0.8.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462
[INFO] running `Command { std: "docker" "start" "ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling zerocopy v0.8.38
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking battleship v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied
[INFO] [stdout]    --> src/main.rs:270:26
[INFO] [stdout]     |
[INFO] [stdout] 270 |     let mut otherplace = -1;
[INFO] [stdout]     |                          ^^ the trait `Neg` is not implemented for `usize`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying an integer type that can be negative
[INFO] [stdout]     |
[INFO] [stdout] 270 |     let mut otherplace = -1isize;
[INFO] [stdout]     |                            +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_ships` is never read
[INFO] [stdout]    --> src/main.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 | let mut num_ships = false;
[INFO] [stdout]     |                     ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 166 |             ];num_ships=true;
[INFO] [stdout]     |               -------------- `num_ships` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `battleship` (bin "battleship" test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied
[INFO] [stdout]    --> src/main.rs:270:26
[INFO] [stdout]     |
[INFO] [stdout] 270 |     let mut otherplace = -1;
[INFO] [stdout]     |                          ^^ the trait `Neg` is not implemented for `usize`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying an integer type that can be negative
[INFO] [stdout]     |
[INFO] [stdout] 270 |     let mut otherplace = -1isize;
[INFO] [stdout]     |                            +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_ships` is never read
[INFO] [stdout]    --> src/main.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 | let mut num_ships = false;
[INFO] [stdout]     |                     ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 166 |             ];num_ships=true;
[INFO] [stdout]     |               -------------- `num_ships` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `battleship` (bin "battleship") due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462", kill_on_drop: false }`
[INFO] [stdout] ebd5809baaf9f37e4421f6b013aa3f29e5cadb242131e72449b6ed87c1547462
